#include "CPrintSettings.h"
#include "QDebug"

CPrintSettings::CPrintSettings()
{
    this->pageSettings = 0;
}

CPrintSettings::~CPrintSettings()
{
//    if (pageSettings) delete pageSettings;
}

void CPrintSettings::setPagination(CPagination &pagination)
{
    this->pagination = pagination;
}

CPagination CPrintSettings::getPagination()
{
    return this->pagination;
}

void CPrintSettings::setPageSettings(CPageSettings *pageSettings)
{
    this->pageSettings = pageSettings;
    qDebug()<<"*CPrintSettings::setPageSettings():"<<this->pageSettings;
}

CPageSettings *CPrintSettings::getPageSettings()
{
    qDebug()<<"*CPrintSettings::getPageSettings():"<<this->pageSettings;
    return this->pageSettings;
}
